package com.nursinghome.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Reservation extends PageFilter<Reservation> implements Serializable {
    private String id;
    private Integer serviceId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date startTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date endTime;
    private Long eid;
    private Integer mid;
    private BigDecimal totalPrice;
    private Integer status;
    private Elderly elderly;
    private MedicalStaff medicalStaff;
    private Service service;
}
